package com.hqyj.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2024-10-11 09:36:24
 */
@Getter
@Setter
@TableName("product_index")
public class ProductIndex implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableId(value = "pro_id", type = IdType.AUTO)
    private Integer proId;

    /**
     * 图片路径
     */
    @TableField("img_url")
    private String imgUrl;

    /**
     * 商品描述
     */
    @TableField("img_desc")
    private String imgDesc;

    /**
     * 图片类型:0 轮播 1 男装 2 女装 3 鞋袜
     */
    @TableField("img_type")
    private Integer imgType;

    /**
     * 商品类型:0 轮播 1 男装 2 女装 3 鞋袜
     */
    @TableField("pro_type")
    private Integer proType;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
